package js.lee.jvli.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("datasource")
public class DataSourceNode extends AbstractNode {
    public DataSourceNode(String name) {
        super(name);
    }

    @XStreamAsAttribute
    String  config    = "";

    @XStreamAsAttribute
    boolean dirtyRead = false;

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public boolean isDirtyRead() {
        return dirtyRead;
    }

    public void setDirtyRead(boolean dirtyRead) {
        this.dirtyRead = dirtyRead;
    }
}
